#导包
from selenium import webdriver
from selenium.webdriver.common.by import By
from time import sleep

#反爬
op = webdriver.ChromeOptions()
op.add_experimental_option('excludeSwitches', ['enable-automation'])
op.add_experimental_option('useAutomationExtension', False)
op.add_argument("--start-maximized")#窗口最大化
#打开Chrome浏览器
driver = webdriver.Chrome(options=op)
#打开网址（百度新闻首页）
driver.get(r'http://www.bootstrap.cn/doc/read/125.html')

ele=driver.find_element(By.CSS_SELECTOR,".form-select.form-select-lg.mb-3")
print(ele)

driver.quit()

